Page({

  /**
   * 页面的初始数据
   */
  data: {
    showbasicinformation:false,
    antidotes:[
      {
        name:"麻黄"
      },
      {
        name: "桂枝"
      },
      {
        name: "紫苏"
      },
      {
        name: "生姜"
      },
      {
        name: "香薰"
      },
      {
        name: "荆芥"
      },
      {
        name: "藁本"
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },
  //收起
  packupbasicinformation: function () {
    this.setData({
      showbasicinformation: !this.data.showbasicinformation
    })
  },
  //展开
  showbasicinformation: function () {
    this.setData({
      showbasicinformation: !this.data.showbasicinformation
    })
    console.log(this.data.show)
  },
})